package com.example.task08.school;

import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;

public class School implements ISchool{
    @Autowired
    Klass class1;

    @Autowired
    Student student001;

    public School(){
        ding();
    }

    @Override
    public void ding() {
        System.out.println("注入School");
    }
}
